Overview

Compared to standard TM, a NDTM has two transition functions δ0\delta_0 and δ1\delta_1, and a special state q𝚊𝚌𝚌𝚎𝚙𝚝q_{\mathtt{accept}}.

When NDTM MM computers a function, it makes an arbitrary choice on which of two transition functions to apply.

For every input xx, say that M(x)=1M(x) =1 if there exists some sequence of these choices which would make it reach q𝚊𝚌𝚌𝚎𝚙𝚝q_{\mathtt{accept}} on input xx.
Otherwise say M(x)=0M(x) = 0 if every sequence of choices makes MM halt without reaching q𝚊𝚌𝚌𝚎𝚙𝚝q_{\mathtt{accept}}.

MM runs in T(n)T(n) time if for every input x{0,1}x \in \{0,1\}^*, and every sequence of nondeterministic choices, MM reaches the halting state or q𝚊𝚌𝚌𝚎𝚙𝚝q_{\mathtt{accept}} within T(|x|)T(\lvert x \rvert) steps.

See also


References

  1. S. Arora, B. Barak. Computational Complexity: A Modern Approach, Cambridge University Press, 2009, p. 41.